<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <meta name="author" content="王晨阳">
    <title>添加学生信息</title>
    <link href="bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <style>
        body {
            padding-top: 51px;
        }
        
        h1 {
            margin: 0px;
            font-size: 2.2rem;
            font-family: '微软雅黑';
            line-height: 60px;
        }
        
        .navbar {
            margin-bottom: 0;
        }
        
        .header {
            height: 60px;
            background-color: #EEEEEE;
        }
        
        .student-msg {
            padding-top: 20px;
        }
        
        .form-horizontal .control-label {
            text-align: left;
        }
    </style>
</head>

<body>
    <nav class="navbar navbar-inverse navbar-fixed-top">
        <!--.container,容器类，它可以实现定宽居中的效果-->
        <div class="container">
            <!-- Brand and toggle get grouped for better mobile display -->
            <div class="navbar-header">
                <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#my-navbar-collapse" aria-expanded="false">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <!--.navbar-brand,导航条的logo区域-->
                <a class="navbar-brand" href="#">学生信息管理系统</a>
            </div>

            <!-- Collect the nav links, forms, and other content for toggling -->
            <div class="collapse navbar-collapse" id="my-navbar-collapse">
                <ul class="nav navbar-nav">
                    <li><a href="#">首页 <span class="sr-only">(current)</span></a></li>
                    <!--.active: 表示默认被选中的项目-->
                    <li class="active"><a href="#">学生管理</a></li>
                </ul>
            </div>
            <!-- /.navbar-collapse -->
        </div>
        <!-- /.container-fluid -->
    </nav>
    <!--2.头部-->
    <div class="header">
        <div class="container">
            <h1>添加学生信息</h1>
        </div>
    </div>

    <div class="container student-msg">
        <form class="form-horizontal">
            <div class="form-group">
                <label for="name" class="col-sm-2 control-label">姓名：</label>
                <div class="col-sm-2">
                    <input type="text" class="form-control" id="name" placeholder="请填写学生姓名">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">性别：</label>
                <div class="col-sm-2">
                    <label class="radio-inline">
                <input checked type="radio" name="inlineRadioOptions" id="inlineRadio1" value="option1"> 男
              </label>
                    <label class="radio-inline">
                <input type="radio" name="inlineRadioOptions" id="inlineRadio2" value="option2"> 女
              </label>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">年龄：</label>
                <div class="col-sm-1">
                    <select name="" id="" class="form-control">
                    <option value="">1</option>
                    <option value="">2</option>
                    <option value="">3</option>
                    <option value="">4</option>
                    <option value="">5</option>
                    <option value="">6</option>
                    <option value="">7</option>
                    <option value="">8</option>
                    <option value="">9</option>
                    <option value="">10</option>
                </select>
                </div>
            </div>
            <div class="form-group">
                <label for="tel" class="col-sm-2 control-label">手机号：</label>
                <div class="col-sm-2">
                    <input type="text" class="form-control" id="tel" placeholder="请填写手机号">
                </div>
            </div>
            <div class="form-group">
                <label for="email" class="col-sm-2 control-label">电子邮箱：</label>
                <div class="col-sm-3">
                    <input type="email" class="form-control" id="email" placeholder="请输入电子邮箱地址">
                </div>
            </div>
            <div class="form-group">
                <label for="remark" class="col-sm-2 control-label">备注：</label>
                <div class="col-sm-8">
                    <textarea class="form-control" name="description" id="remark" rows="10" placeholder="请输入学生其他信息"></textarea>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-offset-2 col-sm-2">
                    <button type="submit" class="btn btn-primary form-control">提交</button>
                </div>
            </div>





            <script src="js/jquery.min.js"></script>
            <script src="js/bootstrap.min.js"></script>
</body>

</html>